/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package contrlador;

/**
 *
 * @author Diana & Ramses
 */
public class Electrodomestico extends Producto {
    //Atributos
    private int garantia=12;

    
    //Constructor
    public Electrodomestico(int id, String marca, String descripcion, float precio, int existencias,int garantia) {
        super(id, marca, descripcion, precio, existencias);
        this.garantia=garantia;
    }

    public int getGarantia() {
        return garantia;
    }

    public void setGarantia(int garantia) {
        this.garantia = garantia;
    }
    
    
    
    
}
